package models;

import java.util.*;

import javax.persistence.*;

import play.db.jpa.*;

@Entity
public class Organization extends Model {

	String name;
	@Lob
	String description;
	@OneToMany(mappedBy = "organization", cascade = CascadeType.ALL)
	List<EEntity> entities;

	public Organization(String name, String description) {
		this.name = name;
		this.description = description;
		// this.members = new ArrayList<pair>();
		this.entities = new ArrayList<EEntity>();
	}
}
